/** 定额表接口 */
import request from '@/utils/request';

// 查询定额
export function queryQuota(params) {
  return request({
    url: '/quota/queryQuota',
    method: 'POST',
    data: params
  });
}
// 删除定额
export function deleteQuota(params) {
  return request({
    url: '/quota/deleteQuota',
    method: 'POST',
    data: params
  });
}

// 更新定额
export function updateQuota(params) {
  return request({
    url: '/quota/updateQuota',
    method: 'POST',
    data: params
  });
}

// 新增定额
export function insertQuota(params) {
  return request({
    url: '/quota/insertQuota',
    method: 'POST',
    data: params
  });
}

// 导出定额表Excel
export function exportDingErData() {
  return request({
    url: '/quota/exportDingErData',
    method: 'GET',
  });
}

